package com.qf.data.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.commons.base.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 积分流水表(ScoreDesc)表实体类
 *
 * @author makejava
 * @since 2022-12-03 16:36:41
 */
@Data
@Accessors(chain = true)
public class ScoreDesc extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //积分所属学生id号
    private Long sid;
    //操作的积分数
    private Integer score;
    //操作类型 0-增加 1-扣减
    private Integer action;
    //积分操作渠道类型 0-发红包 1-抢红包 2-充值 3-系统派送 4-系统活动 5-消费扣减
    private Integer type;
    //业务id 
    private Long businessId;
}

